package com.homedo.odin.solution.model.request.pc.brand;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "PC获取品牌主的方案列表")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class PcBrandSolutionListRequestBean extends BaseRequest {

    @ApiModelProperty(value = "当前用户登陆ID")
    @Min(value = 0, message = "当前用户登陆ID参数非法")
    private Integer loginUserId;

    @ApiModelProperty(value = "当前页码", required = true)
    @NotNull(message = "当前页码不能为空")
    @Min(value = 0, message = "当前页码参数非法")
    private Integer pageNum;

    @ApiModelProperty(value = "每页记录数", required = true)
    @NotNull(message = "每页记录数不能为空")
    @Min(value = 0, message = "每页记录数参数非法")
    private Integer pageSize;

}
